<template>
  <div class="top-mask-block">
    <i class="go-back" @click="goBack"></i>
  </div>
</template>

<script>
export default {
  components: {},
  data () {
    return {}
  },
  watch: {},
  methods: {
    goBack () {
      window.history.back()
    }
  }
}
</script>

<style lang="less">
.top-mask-block {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 40px;
  .go-back {
    position: absolute;
    top: 10px;
    left: 20px;
    height: 20px;
    width: 20px;
    background: url("../../assets/go-back.png") no-repeat;
    background-size: cover;
  }
}
</style>
